import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  async getHello(data: { name: string }): Promise<{ greeting: string }> {
    console.log( data ,'===========data ==============')
    return { greeting: '你好, ' + data.name };
  }
}
